home *** CD-ROM | disk | FTP | other *** search
- package com.sun.java.swing.plaf.basic;
-
- import java.awt.event.ItemEvent;
- import java.awt.event.ItemListener;
-
- class BasicComboPopup$ComboItemListener implements ItemListener {
- // $FF: synthetic field
- BasicComboPopup this$0;
-
- public void itemStateChanged(ItemEvent e) {
- if (e.getStateChange() == 1) {
- this.this$0.valueIsAdjusting = true;
- this.this$0.list.setSelectedIndex(this.this$0.comboBox.getSelectedIndex());
- this.this$0.valueIsAdjusting = false;
- this.this$0.list.ensureIndexIsVisible(this.this$0.comboBox.getSelectedIndex());
- }
-
- }
-
- // $FF: synthetic method
- BasicComboPopup$ComboItemListener(BasicComboPopup this$0) {
- this.this$0 = this$0;
- }
- }
-